﻿ALTER TABLE [dbo].[InstanceMappings] ADD
CONSTRAINT [FK_InstanceMappings_TemplateInstanceComponents] FOREIGN KEY ([ComponentId]) REFERENCES [dbo].[TemplateInstanceComponents] ([ComponentId]) ON DELETE CASCADE


